FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER www.joolun.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /kasoft-weixin

WORKDIR /kasoft-weixin

EXPOSE 6002

ADD ./kasoft-weixin/kasoft-weixin-admin/target/kasoft-weixin-admin.jar ./

CMD sleep 150;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar kasoft-weixin-admin.jar
